
from django.urls import path, include
from web.views import account,home
urlpatterns = [

    path(r'register/', account.register, name='register'),
    path(r'send/sms/', account.send_sms, name='send_sms'),
    path(r'login/sms/', account.login_sms, name='login_sms'),
    path(r'image/code/', account.image_code, name='image_code'),

    path(r'login/', account.login, name='login'),
    path(r'index/', home.index, name='index'),
    path(r'logout/', account.logout, name='logout')
]